package cn.dada.dadarecipes.backend.merchant.pojo.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.AccessLevel;
import lombok.Data;
import lombok.experimental.FieldDefaults;

import java.time.LocalDateTime;

@Data
@FieldDefaults(level = AccessLevel.PRIVATE)
public class Merchant {
    @ApiModelProperty(value = "商家用户id")
    Long id;
    @ApiModelProperty(value = "用户名")
    String username;
    @ApiModelProperty(value = "密码")
    String password;
    @ApiModelProperty(value = "邮箱")
    String email;
    @ApiModelProperty(value = "联系号码")
    String phone;
    @ApiModelProperty(value = "商家头像")
    String imgUrl;
    @ApiModelProperty(value = "商家姓名(用于实名认证)")
    String name;
    @ApiModelProperty(value = "商家身份证(用于实名认证)")
    String identityCardNum;
    @ApiModelProperty(value = "店铺id")
    Long shopId;
    @ApiModelProperty(value = "店铺名称")
    String shopName;
    @ApiModelProperty(value = "店铺地址")
    String address;
    @ApiModelProperty(value = "钱包余额")
    String accountBalance;
    @ApiModelProperty(value = "账户状态")
    String status;
    @ApiModelProperty(value = "创建时间")
    LocalDateTime createTime;
    @ApiModelProperty(value = "更新时间")
    LocalDateTime updateTime;
}